-
-
Notifications
You must be signed in to change notification settings - Fork 365
Support Showing Search Window at Topmost #3541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for showing the search window at topmost by introducing a new user setting. Key changes include adding a new toggle in the general settings UI, updating the main window to apply the topmost property based on the setting, and adding the corresponding localization strings and settings property.
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
File | Description |
---|---|
Flow.Launcher/SettingPages/Views/SettingsPaneGeneral.xaml | Adds a new Card with a ToggleSwitch for the topmost setting. |
Flow.Launcher/MainWindow.xaml.cs | Sets the window’s Topmost property on initialization and upon settings changes. |
Flow.Launcher/Languages/en.xaml | Introduces new localization keys for the topmost setting. |
Flow.Launcher.Infrastructure/UserSettings/Settings.cs | Implements the new ShowAtTopmost property with proper change notification. |
This comment has been minimized.
This comment has been minimized.
Be a legend 🏆 by adding a before and after screenshot of the changes you made, especially if they are around UI/UX. |
📝 Walkthrough""" WalkthroughA new "Show Search Window at Topmost" feature is introduced, allowing users to keep the search window above other windows. This includes updates to settings logic, UI, resource strings, and runtime behavior to support toggling the window's "Topmost" property based on user preference. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant SettingsPaneGeneral (UI)
participant Settings
participant MainWindow
User->>SettingsPaneGeneral (UI): Toggles "Show at Topmost"
SettingsPaneGeneral (UI)->>Settings: Updates ShowAtTopmost property
Settings-->>MainWindow: PropertyChanged event (ShowAtTopmost)
MainWindow->>MainWindow: Updates Topmost property
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
⏰ Context from checks skipped due to timeout of 90000ms (2)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
This comment has been minimized.
This comment has been minimized.
What's the difference between this and setting hide when lost focus to off? |
Setting Hide when lost focus off and this on will make this window always on top above all other windows. After showing the search window, it will pin to the top. When you open other windows, they will put under the search window. (related to z-order of windows) |
@jjw24 Here is the demo video. 2025-05-14.11-52-16.mp4 |
🥷 Code experts: onesounds Jack251970, onesounds have most 👩💻 activity in the files. See details
Activity based on git-commit:
Knowledge based on git-blame:
Activity based on git-commit:
Knowledge based on git-blame:
Activity based on git-commit:
Knowledge based on git-blame:
Activity based on git-commit:
Knowledge based on git-blame: To learn more about /:\ gitStream - Visit our Docs |
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view, the 📜action log, or 📝 job summary for details.
See ❌ Event descriptions for more information. Forbidden patterns 🙅 (1)In order to address this, you could change the content to not match the forbidden patterns (comments before forbidden patterns may help explain why they're forbidden), add patterns for acceptable instances, or adjust the forbidden patterns themselves. These forbidden patterns matched content: s.b. workaround(s)
If the flagged items are 🤯 false positivesIf items relate to a ...
|
Support Showing Search Window At Topmost
Use this option to show window above other windows. Inspired by Fluent Search.
Test
2025-05-14.11-52-16.mp4